package com.wteam.PoJo.DTO;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.A;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderFormDTO {
//    @ApiModelProperty(value = "我的优惠卷的优惠卷id")
//    private  Long id;
    @ApiModelProperty(value = "我的优惠卷的id")
    private Long voucherId;
    @ApiModelProperty("收货地址id")
    private Long addressId;

    @ApiModelProperty("下单商品列表")
    private List<OrderDetailDTO> details;





    @ApiModelProperty(value = "运费")
    private BigDecimal postage;

}
